home *** CD-ROM | disk | FTP | other *** search
- IFND GMS_TASKS_I
- GMS_TASKS_I SET 1
-
- **
- ** $VER: tasks.i V0.6B
- **
- ** (C) Copyright 1996-1997 DreamWorld Productions.
- ** All Rights Reserved
- **
-
- IFND EXEC_TYPES_I
- include 'exec/types.i'
- ENDC
-
- *****************************************************************************
- * This task structure is lodged into tc_UserData (see exec/tasks.i), so
- * you may not change that field when using GMS. A new UserData field exists
- * here which you can use if necessary.
-
- GTV1 = ("GT"<<16)|00
-
- STRUCTURE GMSTask,0
- ULONG GT_VERSION ;GTV1
- ULONG GT_Stats ;Private.
- APTR GT_UserData ;Pointer to user data, no restrictions.
- APTR GT_TaskName ;Name of the task if specified. (READ ONLY)
-
- * Private fields start now *
-
- APTR GT_GeneralPrefs ;Library preferences.
- APTR GT_ScreenPrefs ;Screen preferences.
- APTR GT_SoundPrefs ;Sound preferences.
- APTR GT_BlitterPrefs ;Blitter preferences.
- APTR GT_ResourceChain ;The resource chain, private.
- ULONG GT_ReqStatus ;Used internally.
- ULONG GT_BlitKey ;Used to store resource key.
- ULONG GT_AudioKey ;Used to store resource key.
- ULONG GT_ExecNode ;Task's exec node.
- APTR GT_DestructStack ;Pointer to self destruct exit stack.
- APTR GT_DestructCode ;Pointer to self destruct exit code.
- BYTE GT_AlertState ;On/Off.
- BYTE GT_Switched ;Set if task is in Switch().
- UWORD GT_DebugStep ;Debug tree stepping position.
- UBYTE GT_AwakeSig ;Signal for waking this task.
- UBYTE GT_Pad ;Reserved.
- LABEL GT_SIZEOF
-
- CS_OCS = 0
- CS_ECS = 1
- CS_AGA = 2
-
- ENDC ;GMS_TASKS_I
-